package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.vo.PositionNumVo;
import com.ruoyi.system.domain.vo.UserPositionVo;
import com.ruoyi.system.mapper.UserMapper;
import com.ruoyi.system.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author xy
 * @version 1.0
 * @description:
 * @date 2024/7/6 9:26
 */
@Service
public class UserServiceImpl implements IUserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public List<PositionNumVo> selectProvinceNum() {
        return userMapper.selectProvinceNum();
    }

    @Override
    public UserPositionVo selectUserPosition(Long userId) {
        return userMapper.selectUserPosition(userId);
    }
}
